﻿
:: Before running this file, sign the assembly in Project properties
::
:: To customize this file, find and replace
:: a) "MyFeature" with your own feature names
:: b) "feature.xml" with the name of your feature.xml file
:: c) "workflow.xml" with the name of your workflow.xml file
:: d) "http://ws26:50006/" with the name of the site you wish to publish to

echo Copying the feature...



echo Activating the feature...

pushd %programfiles%\common files\microsoft shared\web server extensions\14\bin

::Note: Uncomment these lines if you've modified your deployment xml files or IP forms 
stsadm -o deactivatefeature -name RecruitmentProcess_Feature1 -url http://devsp:7500
stsadm -o uninstallfeature -name RecruitmentProcess_Feature1  -force

stsadm -o installfeature -name RecruitmentProcess_Feature1 -force
stsadm -o activatefeature -name RecruitmentProcess_Feature1 -url http://devsp:7500


echo Doing an iisreset...
popd
iisreset
echo About to close...............

